package demo10;

import java.util.Comparator;

public class ScoreComparator implements Comparator<Studnet> {
    @Override
    public int compare(Studnet o1,Studnet o2){
        return o1.score -o2.score;
    }
}
